<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Options Window: Java: Maven</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="org.netbeans.modules.maven.options.MavenAdvancedOption" name="org.netbeans.modules.maven.options.MavenAdvancedOption"></a></p>
<div id="NBCSH2428"><!-- infolevel="all" infotype="General" --><a id="sthref331" name="sthref331"></a>
<h1>Options Window: Java: Maven</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to configure Maven settings that affect the behavior of Maven in the IDE. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG626">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<table summary="Descriptions of Maven project name and location properties." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="36%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t5">Element</th>
<th align="left" valign="bottom" id="r1c2-t5">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t5" headers="r1c1-t5">
<p>Execution</p>
</td>
<td align="left" headers="r2c1-t5 r1c2-t5">Select this category to set options for executing Maven commands in the IDE.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Maven Home</p>
</td>
<td align="left" headers="r3c1-t5 r1c2-t5">Specifies the location of the local Maven installation (for example, <code dir="ltr">/usr/local/maven/apache-maven-209</code>).
<p>By default, the IDE uses the version of Maven that is bundled and installed with the IDE.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Global Execution Options</p>
</td>
<td align="left" headers="r4c1-t5 r1c2-t5">Enables you to select additional Maven execution options to apply to all Maven projects.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Edit Global Custom Goal Definitions</p>
</td>
<td align="left" headers="r5c1-t5 r1c2-t5">Opens a dialog box where you can configure custom Maven goals that can be invoked from any Maven project.
<p>Invoke custom goals by right-clicking the project in the Projects window and choosing <b>Custom</b>.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Reuse Output Tabs from Finished Processes</p>
</td>
<td align="left" headers="r6c1-t5 r1c2-t5">When selected, Maven output messages are displayed in the same tab in the Output window. When deselected, a new tab is opened for each new Maven process.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t5" headers="r1c1-t5">&nbsp;&nbsp;&nbsp;&nbsp;Print Maven output logging level</td>
<td align="left" headers="r7c1-t5 r1c2-t5">When selected, the level of the output log is printed.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Always Show Output</p>
</td>
<td align="left" headers="r8c1-t5 r1c2-t5">When selected, the Output window is automatically opened and focus is given to the window each time that output is written to the window. When deselected, if the Output window is closed or minimized the window will not open automatically when output is written to the window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Output Tab identified by</p>
</td>
<td align="left" headers="r9c1-t5 r1c2-t5">Select the name that is used to identify the tab in the Output window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Also show active configuration</p>
</td>
<td align="left" headers="r10c1-t5 r1c2-t5">When selected, the active configuration is also displayed in the title of the tab in the Output window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Collapse folds for successfully executed mojos</p>
</td>
<td align="left" headers="r11c1-t5 r1c2-t5">When selected, the results for each mojo in the Output window are collapsed if the execution of the mojo was successful.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r12c1-t5" headers="r1c1-t5">
<p>Appearance</p>
</td>
<td align="left" headers="r12c1-t5 r1c2-t5">Select this category to set options for displaying Maven projects in the IDE.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r13c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Project node name</p>
</td>
<td align="left" headers="r13c1-t5 r1c2-t5">Select a template for displaying the Maven project node in the IDE.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r14c1-t5" headers="r1c1-t5">
<p>Dependencies</p>
</td>
<td align="left" headers="r14c1-t5 r1c2-t5">Select this category to set options for downloading project dependencies. The default setting for the tasks is Never. Modifying the setting can have a significant impact on performance when opening a Maven project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r15c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Dependency Download Strategy</p>
</td>
<td align="left" headers="r15c1-t5 r1c2-t5"></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r16c1-t5" headers="r1c1-t5">&nbsp;&nbsp;&nbsp;&nbsp;Download Binaries</td>
<td align="left" headers="r16c1-t5 r1c2-t5">Specifies how often the IDE downloads dependency binaries when a Maven project is opened.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r17c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Check Javadoc</p>
</td>
<td align="left" headers="r17c1-t5 r1c2-t5">Specifies how often the IDE checks the Javadoc when a Maven project is opened.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r18c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Check Sources</p>
</td>
<td align="left" headers="r18c1-t5 r1c2-t5">Specifies how often the IDE checks the sources when a Maven project is opened.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r19c1-t5" headers="r1c1-t5">
<p>Index</p>
</td>
<td align="left" headers="r19c1-t5 r1c2-t5">Select this category to set options for updating the Maven repository index.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r20c1-t5" headers="r1c1-t5">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Index Update Frequency</p>
</td>
<td align="left" headers="r20c1-t5 r1c2-t5">Specifies how often the IDE checks the remote repository for updates.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r21c1-t5" headers="r1c1-t5">&nbsp;&nbsp;&nbsp;&nbsp;Completely disable indexing</td>
<td align="left" headers="r21c1-t5 r1c2-t5">When selected, indexing of files is disabled.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r22c1-t5" headers="r1c1-t5">Experimental</td>
<td align="left" headers="r22c1-t5 r1c2-t5">Select this category to use the <code dir="ltr">pom.xml</code> file content to determine what Maven binaries to use and download if necessary.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r23c1-t5" headers="r1c1-t5">&nbsp;&nbsp;&nbsp;&nbsp;Download and use best Maven binary for execution</td>
<td align="left" headers="r23c1-t5 r1c2-t5">When selected, the IDE determines the right version of maven binaries to use and downloads it from <code dir="ltr">
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://archive.apache.org">
<param name="text" value="<html><u>http://archive.apache.org</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</code>.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r24c1-t5" headers="r1c1-t5">&nbsp;&nbsp;&nbsp;&nbsp;Use the following location to store Maven binaries</td>
<td align="left" headers="r24c1-t5 r1c2-t5">Select to specify the directory on your machine for storing Maven binaries.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>If you are using Maven with a proxy host you might need to specify the proxy settings explicitly in the Maven <code dir="ltr">settings.xml</code> file. You can open and edit the user settings for the local repository by expanding the Project Files node in the Projects window and double-clicking <code dir="ltr">settings.xml</code>.</p>
<p>For details about Maven proxy settings, see the "How do I specify Maven proxy settings" FAQ at <code dir="ltr">
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://wiki.netbeans.org/FaqMavenProxySettings">
<param name="text" value="<html><u>http://wiki.netbeans.org/FaqMavenProxySettings</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</code>.</p>
<a id="NBCSH2446" name="NBCSH2446"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG620">
<param name="text" value="<html><u>&quot;Working with Maven in the IDE&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG653">
<param name="text" value="<html><u>&quot;Working with Maven Repositories&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
